import useFileRenamePropsStore from '@renderer/store/CpnProps/FileRenamePropsStore'
import useFileRenameExcelStore from '@renderer/store/Excel/FileRenameExcelStore'
import useContentRemoveFormStore from '@renderer/store/Form/ContentRemoveFormStore'
import useContentSwapFormStore from '@renderer/store/Form/ContentSwapFormStore'
import useInsertNameFormStore from '@renderer/store/Form/InsertNameFormStore'
import useNewFileNameFormStore from '@renderer/store/Form/NewFileNameFormStore'
import useReplaceContentFormStore from '@renderer/store/Form/ReplaceContentFormStore'
import useSerialNumberFormStore from '@renderer/store/Form/SerialNumberFormStore'
import useSuffixFileNameFormStore from '@renderer/store/Form/SuffixFileNameFormStore'
import useTransformNameFormStore from '@renderer/store/Form/TransformNameForm'

// 重置工作台
export default function useResetWorkbench() {
  const sontentRemoveFormStore = useContentRemoveFormStore()
  const contentSwapFormStore = useContentSwapFormStore()
  const insertNameFormStore = useInsertNameFormStore()
  const newFileNameFormStore = useNewFileNameFormStore()
  const replaceContentFormStore = useReplaceContentFormStore()
  const serialNumberFormStore = useSerialNumberFormStore()
  const suffixFileNameFormStore = useSuffixFileNameFormStore()
  const transformNameFormStore = useTransformNameFormStore()
  const fileRenameExcelStore = useFileRenameExcelStore()
  const fileRenamePropsStore = useFileRenamePropsStore()

  const resetWorkbench = () => {
    sontentRemoveFormStore.$reset()
    contentSwapFormStore.$reset()
    insertNameFormStore.$reset()
    newFileNameFormStore.$reset()
    replaceContentFormStore.$reset()
    serialNumberFormStore.$reset()
    suffixFileNameFormStore.$reset()
    transformNameFormStore.$reset()
    fileRenameExcelStore.$reset()
    fileRenamePropsStore.$reset()
  }

  return {
    resetWorkbench
  }
}
